/**
File: Define.h
Description:
Include platform libraries
Define platform config type
*/

#ifndef __G_DEFINE_PLATFORM_H__
#define __G_DEFINE_PLATFORM_H__

//Base define
#include "..\Define.h"

//Graphics library include

//OpenGLESv2
#include <GLES2\gl2.h>
#include <GLES2\gl2ext.h>
#include <GLES2\gl2platform.h>

//Playform IDs
#define	FW_WIN32_GLES_20	0x100	//Active
#define	FW_ANDROID_GLES_20	0x101	//Not
#define	FW_DIRECTX_09		0x102	//Not
#define	FW_DIRECTX_11		0x103	//Not

//Hard define
#define	FW_TEXTURE_2D					GL_TEXTURE_2D
#define	FW_TEXTURE_CUBE_MAP				GL_TEXTURE_CUBE_MAP
#define	FW_TEXTURE_CUBE_MAP_NEGATIVE_X	GL_TEXTURE_CUBE_MAP_NEGATIVE_X
#define	FW_TEXTURE_CUBE_MAP_NEGATIVE_Y	GL_TEXTURE_CUBE_MAP_NEGATIVE_Y
#define	FW_TEXTURE_CUBE_MAP_NEGATIVE_Z	GL_TEXTURE_CUBE_MAP_NEGATIVE_Z
#define	FW_TEXTURE_CUBE_MAP_POSITIVE_X	GL_TEXTURE_CUBE_MAP_POSITIVE_X
#define	FW_TEXTURE_CUBE_MAP_POSITIVE_Y	GL_TEXTURE_CUBE_MAP_POSITIVE_Y
#define	FW_TEXTURE_CUBE_MAP_POSITIVE_Z	GL_TEXTURE_CUBE_MAP_POSITIVE_Z
#define	FW_TRIANGLE						GL_TRIANGLES
#define	FW_LINES						GL_LINES
#define	FW_ARRAY_BUFFER					GL_ARRAY_BUFFER
#define	FW_ELEMENT_ARRAY_BUFFER			GL_ELEMENT_ARRAY_BUFFER

#endif